<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <div>
        <p>这是容器级嵌套文本级</p>
    </div>
    <p>
        <div>这是文本级嵌套容器级</div>
    </p>
    <!-- 打开浏览器f12看源码就会发现问题 -->
</body>
</html>